<?php  

$host="localhost";
$user="root";
$pass="";
$banco="eureka";

$conexao=mysql_connect($host,$user,$pass) or die (mysql_error());
$resul=mysql_select_db($banco,$conexao);

?>